<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Classes  Reference</title>
    <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="css/highlight.css" />
    <meta charset='utf-8'>
    <script src="js/jquery.min.js" defer></script>
    <script src="js/jazzy.js" defer></script>
    
    <script src="js/lunr.min.js" defer></script>
    <script src="js/typeahead.jquery.js" defer></script>
    <script src="js/jazzy.search.js" defer></script>
  </head>
  <body>
    <a name="//apple_ref/swift/Section/Classes" class="dashAnchor"></a>
    <a title="Classes  Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="index.html">Proton Docs</a> (68% documented)</p>
        <p class="header-right"><a href="https://github.com/rajdeep/proton"><img src="img/gh.png" alt="GitHub"/>View on GitHub</a></p>
        <div class="header-right">
          <form role="search" action="search.json">
            <input type="text" placeholder="Search documentation" data-typeahead>
          </form>
        </div>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="index.html">Proton Reference</a>
        <img id="carat" src="img/carat.png" alt=""/>
        Classes  Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Classes/Attachment.html">Attachment</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/AttributesToggleCommand.html">AttributesToggleCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/BackgroundStyle.html">BackgroundStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/BoldCommand.html">BoldCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/BorderStyle.html">BorderStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/EditorCommandExecutor.html">EditorCommandExecutor</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/EditorView.html">EditorView</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/EditorViewContext.html">EditorViewContext</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/FontTraitToggleCommand.html">FontTraitToggleCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/GridCell.html">GridCell</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/GridView.html">GridView</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/ItalicsCommand.html">ItalicsCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/ListCommand.html">ListCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/ListIndentCommand.html">ListIndentCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/ListOutdentCommand.html">ListOutdentCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/ListTextProcessor.html">ListTextProcessor</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/ShadowStyle.html">ShadowStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/StrikethroughCommand.html">StrikethroughCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/TableCell.html">TableCell</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/TableCellContentView.html">TableCellContentView</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/TableView.html">TableView</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/UnderlineCommand.html">UnderlineCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/Utility.html">Utility</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Enums/AsyncTextResolvingResult.html">AsyncTextResolvingResult</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/AttachmentSize.html">AttachmentSize</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/AttachmentType.html">AttachmentType</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/BackgroundMode.html">BackgroundMode</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/EditorContentMode.html">EditorContentMode</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/EditorContentType.html">EditorContentType</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/EditorHeight.html">EditorHeight</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/EditorKey.html">EditorKey</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/GridColumnWidth.html">GridColumnWidth</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/GridColumnWidth/ConstrainedWidth.html">– ConstrainedWidth</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/GridViewError.html">GridViewError</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/Indentation.html">Indentation</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/ListLineMarker.html">ListLineMarker</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/ListMarkerDebugOption.html">ListMarkerDebugOption</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/RoundedCornerStyle.html">RoundedCornerStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Enums/TableViewError.html">TableViewError</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Extensions/EditorContentName.html">EditorContentName</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/NSAttributedString.html">NSAttributedString</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/NSAttributedString/Key.html">– Key</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/NSParagraphStyle.html">NSParagraphStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/NSRange.html">NSRange</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/String.html">String</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/TextProcessingPriority.html">TextProcessingPriority</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/UIFont.html">UIFont</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/UITextRange.html">UITextRange</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Protocols/AsyncAttachmentRenderingDelegate.html">AsyncAttachmentRenderingDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols.html#/s:6Proton23AsyncDeferredRenderableP">AsyncDeferredRenderable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/AsyncTextResolving.html">AsyncTextResolving</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/AttachmentEncoding.html">AttachmentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/AttachmentOffsetProviding.html">AttachmentOffsetProviding</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/AttachmentTypeIdentifying.html">AttachmentTypeIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/AttributesDecoding.html">AttributesDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/BackgroundColorObserving.html">BackgroundColorObserving</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/BoundsObserving.html">BoundsObserving</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/DynamicBoundsProviding.html">DynamicBoundsProviding</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorCommand.html">EditorCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorCommandExecutorDelegate.html">EditorCommandExecutorDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorContentDecoding.html">EditorContentDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorContentEncoder.html">EditorContentEncoder</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorContentEncoding.html">EditorContentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorContentIdentifying.html">EditorContentIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorContentView.html">EditorContentView</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorListFormattingProvider.html">EditorListFormattingProvider</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorTextEncoding.html">EditorTextEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/EditorViewDelegate.html">EditorViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Focusable.html">Focusable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/GridViewDelegate.html">GridViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LineNumberProvider.html">LineNumberProvider</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/SequenceGenerator.html">SequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/TableViewDelegate.html">TableViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/TextProcessing.html">TextProcessing</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Structs/AnyAttributeDecoding.html">AnyAttributeDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/AnyEditorContentAttachmentEncoding.html">AnyEditorContentAttachmentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/AnyEditorContentDecoding.html">AnyEditorContentDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/AnyEditorTextEncoding.html">AnyEditorTextEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/AttachmentContentIdentifier.html">AttachmentContentIdentifier</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/AttachmentImage.html">AttachmentImage</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/AttachmentSelectionStyle.html">AttachmentSelectionStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/CommandName.html">CommandName</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/DiamondBulletSequenceGenerator.html">DiamondBulletSequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/EditorContent.html">EditorContent</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/EditorLine.html">EditorLine</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/GradientColors.html">GradientColors</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/GridCellStyle.html">GridCellStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/GridCellStyle/BorderStyle.html">– BorderStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/GridColumnConfiguration.html">GridColumnConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/GridConfiguration.html">GridConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/GridRowConfiguration.html">GridRowConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/GridStyle.html">GridStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/Gutter.html">Gutter</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/LineFormatting.html">LineFormatting</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/LineNumberFormatting.html">LineNumberFormatting</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/ListItem.html">ListItem</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/ListParser.html">ListParser</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/NumericSequenceGenerator.html">NumericSequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/SquareBulletSequenceGenerator.html">SquareBulletSequenceGenerator</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:6Proton15AttachmentRangea">AttachmentRange</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:6Proton14AttachmentViewa">AttachmentView</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:6Proton25AttachmentViewIdentifyinga">AttachmentViewIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:6Proton10Attributesa">Attributes</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:6Proton9Processeda">Processed</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:6Proton22TextProcessingPrioritya">TextProcessingPriority</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>Classes</h1>
            <p>The following classes are available globally.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)Attachment"></a>
                    <a name="//apple_ref/swift/Class/Attachment" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)Attachment">Attachment</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>An attachment can be used as a container for any view object. Based on the <code><a href="Enums/AttachmentSize.html">AttachmentSize</a></code> provided, the attachment automatically renders itself alongside the text in <code><a href="Classes/EditorView.html">EditorView</a></code>.
<code>Attachment</code> also provides helper functions like <code>deleteFromContainer</code> and <code>rangeInContainer</code></p>

                        <a href="Classes/Attachment.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">class</span> <span class="kt">Attachment</span> <span class="p">:</span> <span class="kt">NSTextAttachment</span><span class="p">,</span> <span class="kt"><a href="Protocols/BoundsObserving.html">BoundsObserving</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton11ShadowStyleC"></a>
                    <a name="//apple_ref/swift/Class/ShadowStyle" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton11ShadowStyleC">ShadowStyle</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Shadow style for <code>backgroundStyle</code> attribute</p>

                        <a href="Classes/ShadowStyle.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">ShadowStyle</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton11BorderStyleC"></a>
                    <a name="//apple_ref/swift/Class/BorderStyle" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton11BorderStyleC">BorderStyle</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Border style for <code>backgroundStyle</code> attribute</p>

                        <a href="Classes/BorderStyle.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">BorderStyle</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton15BackgroundStyleC"></a>
                    <a name="//apple_ref/swift/Class/BackgroundStyle" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton15BackgroundStyleC">BackgroundStyle</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Style for background color attribute. Adding <code>backgroundStyle</code> attribute will add border, background and shadow
as per the styles specified.</p>
<div class="aside aside-important">
    <p class="aside-title">Important</p>
    This attribute is separate from <code>backgroundColor</code> attribute. Applying <code>backgroundColor</code> takes precedence over backgroundStyle
i.e. the background color shows over color of <code>backgroundStyle</code> and will not show rounded corners.

</div><div class="aside aside-note">
    <p class="aside-title">Note</p>
    Ideally <code>backgroundStyle</code> may be used instead of <code>backgroundColor</code> as it can mimic standard background color as well as
border, shadow and rounded corners.

</div>

                        <a href="Classes/BackgroundStyle.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">BackgroundStyle</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)EditorView"></a>
                    <a name="//apple_ref/swift/Class/EditorView" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)EditorView">EditorView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A scrollable, multiline text region capable of resizing itself based of the height of the content. Maximum height of <code>EditorView</code>
may be restricted using an absolute value or by using auto-layout constraints. Instantiation of <code>EditorView</code> is simple and straightforward
and can be used to host simple formatted text or complex layout containing multiple nested <code>EditorView</code> via use of <code><a href="Classes/Attachment.html">Attachment</a></code>.</p>

                        <a href="Classes/EditorView.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">class</span> <span class="kt">EditorView</span> <span class="p">:</span> <span class="kt">UIView</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">EditorView</span><span class="p">:</span> <span class="kt">DefaultTextFormattingProviding</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton17EditorViewContextC"></a>
                    <a name="//apple_ref/swift/Class/EditorViewContext" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton17EditorViewContextC">EditorViewContext</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Describes the context for the <code><a href="Classes/EditorView.html">EditorView</a></code>. A context is used to execute the commands using <code><a href="Classes/EditorCommandExecutor.html">EditorCommandExecutor</a></code>. In a typical scenario, where there are
multiple levels of <code><a href="Classes/EditorView.html">EditorView</a></code>s that are contained in another <code><a href="Classes/EditorView.html">EditorView</a></code> by virtue of being in <code><a href="Classes/Attachment.html">Attachment</a></code>s, all the <code><a href="Classes/EditorView.html">EditorView</a></code>s sharing the same
context automatically share the <code><a href="Classes/EditorCommandExecutor.html">EditorCommandExecutor</a></code>. i.e. the <code><a href="Classes/EditorCommandExecutor.html">EditorCommandExecutor</a></code> operates on only those <code><a href="Classes/EditorView.html">EditorView</a></code>s which have the same
context as provided to the <code><a href="Classes/EditorCommandExecutor.html">EditorCommandExecutor</a></code>.</p>

                        <a href="Classes/EditorViewContext.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">EditorViewContext</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton23AttributesToggleCommandC"></a>
                    <a name="//apple_ref/swift/Class/AttributesToggleCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton23AttributesToggleCommandC">AttributesToggleCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Editor command that toggles given attributes in selected range in the Editor.</p>

                        <a href="Classes/AttributesToggleCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">AttributesToggleCommand</span> <span class="p">:</span> <span class="kt"><a href="Protocols/EditorCommand.html">EditorCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton11BoldCommandC"></a>
                    <a name="//apple_ref/swift/Class/BoldCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton11BoldCommandC">BoldCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Editor command that toggles Bold attribute to the selected range in the Editor.</p>

                        <a href="Classes/BoldCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">BoldCommand</span> <span class="p">:</span> <span class="kt"><a href="Classes/FontTraitToggleCommand.html">FontTraitToggleCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton22FontTraitToggleCommandC"></a>
                    <a name="//apple_ref/swift/Class/FontTraitToggleCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton22FontTraitToggleCommandC">FontTraitToggleCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Editor command that toggles given font trait to the selected range in the Editor.</p>

                        <a href="Classes/FontTraitToggleCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">FontTraitToggleCommand</span> <span class="p">:</span> <span class="kt"><a href="Protocols/EditorCommand.html">EditorCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton14ItalicsCommandC"></a>
                    <a name="//apple_ref/swift/Class/ItalicsCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton14ItalicsCommandC">ItalicsCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Editor command that toggles Italics attribute to the selected range in the Editor.</p>

                        <a href="Classes/ItalicsCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">ItalicsCommand</span> <span class="p">:</span> <span class="kt"><a href="Classes/FontTraitToggleCommand.html">FontTraitToggleCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton11ListCommandC"></a>
                    <a name="//apple_ref/swift/Class/ListCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton11ListCommandC">ListCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Command that can be used to toggle list attributes of selected range of text.
If the length of selected range of text is 0, the attributes are applied on the current line of text.</p>

                        <a href="Classes/ListCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">ListCommand</span> <span class="p">:</span> <span class="kt"><a href="Protocols/EditorCommand.html">EditorCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton17ListIndentCommandC"></a>
                    <a name="//apple_ref/swift/Class/ListIndentCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton17ListIndentCommandC">ListIndentCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Command that can be used to toggle list indentation of selected range of text.</p>

                        <a href="Classes/ListIndentCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">ListIndentCommand</span> <span class="p">:</span> <span class="kt"><a href="Protocols/EditorCommand.html">EditorCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton18ListOutdentCommandC"></a>
                    <a name="//apple_ref/swift/Class/ListOutdentCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton18ListOutdentCommandC">ListOutdentCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Command that can be used to toggle list indentation of selected range of text.</p>

                        <a href="Classes/ListOutdentCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">ListOutdentCommand</span> <span class="p">:</span> <span class="kt"><a href="Protocols/EditorCommand.html">EditorCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton20StrikethroughCommandC"></a>
                    <a name="//apple_ref/swift/Class/StrikethroughCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton20StrikethroughCommandC">StrikethroughCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/StrikethroughCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">StrikethroughCommand</span> <span class="p">:</span> <span class="kt"><a href="Classes/AttributesToggleCommand.html">AttributesToggleCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton16UnderlineCommandC"></a>
                    <a name="//apple_ref/swift/Class/UnderlineCommand" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton16UnderlineCommandC">UnderlineCommand</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/UnderlineCommand.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">UnderlineCommand</span> <span class="p">:</span> <span class="kt"><a href="Classes/AttributesToggleCommand.html">AttributesToggleCommand</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton21EditorCommandExecutorC"></a>
                    <a name="//apple_ref/swift/Class/EditorCommandExecutor" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton21EditorCommandExecutorC">EditorCommandExecutor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p><code>EditorCommandExecutor</code> manages all the <code><a href="Classes/EditorView.html">EditorView</a></code> in the main <code><a href="Classes/EditorView.html">EditorView</a></code>. Sub editors may have been added as <code><a href="Classes/Attachment.html">Attachment</a></code> in the <code><a href="Classes/EditorView.html">EditorView</a></code>.
All the <code><a href="Classes/EditorView.html">EditorView</a></code>s in the hierarchy sharing the same <code>EditorContext</code> will automatically be handled by the <code>EditorCommandExecutor</code>.
<code>EditorCommandExecutor</code> keeps the track of the <code><a href="Classes/EditorView.html">EditorView</a></code> that has the focus and executes the given command in the active <code><a href="Classes/EditorView.html">EditorView</a></code>.</p>

                        <a href="Classes/EditorCommandExecutor.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">EditorCommandExecutor</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton8GridCellC"></a>
                    <a name="//apple_ref/swift/Class/GridCell" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton8GridCellC">GridCell</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Denotes a cell in the <code><a href="Classes/GridView.html">GridView</a></code></p>

                        <a href="Classes/GridCell.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">class</span> <span class="kt">GridCell</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridCell</span><span class="p">:</span> <span class="kt"><a href="Protocols/BoundsObserving.html">BoundsObserving</a></span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridCell</span><span class="p">:</span> <span class="kt"><a href="Protocols/EditorViewDelegate.html">EditorViewDelegate</a></span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridCell</span><span class="p">:</span> <span class="kt">Equatable</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridCell</span><span class="p">:</span> <span class="kt">Hashable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)GridView"></a>
                    <a name="//apple_ref/swift/Class/GridView" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)GridView">GridView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A view that provides a tabular structure where each cell is an <code><a href="Classes/EditorView.html">EditorView</a></code>.
Since the cells contains an <code><a href="Classes/EditorView.html">EditorView</a></code> in itself, it is capable of hosting any attachment that <code><a href="Classes/EditorView.html">EditorView</a></code> can host
including another <code>GridView</code> as an attachment.</p>

                        <a href="Classes/GridView.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">GridView</span> <span class="p">:</span> <span class="kt">UIView</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridView</span><span class="p">:</span> <span class="kt">UIScrollViewDelegate</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridView</span><span class="p">:</span> <span class="kt"><a href="Protocols.html#/s:6Proton23AsyncDeferredRenderableP">AsyncDeferredRenderable</a></span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">GridView</span><span class="p">:</span> <span class="kt"><a href="Protocols/BackgroundColorObserving.html">BackgroundColorObserving</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton7UtilityC"></a>
                    <a name="//apple_ref/swift/Class/Utility" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton7UtilityC">Utility</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/Utility.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">Utility</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton9TableCellC"></a>
                    <a name="//apple_ref/swift/Class/TableCell" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton9TableCellC">TableCell</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/TableCell.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">TableCell</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">TableCell</span><span class="p">:</span> <span class="kt">Equatable</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">TableCell</span><span class="p">:</span> <span class="kt">Hashable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)TableCellContentView"></a>
                    <a name="//apple_ref/swift/Class/TableCellContentView" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)TableCellContentView">TableCellContentView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Classes/TableCellContentView.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">TableCellContentView</span> <span class="p">:</span> <span class="kt">UIView</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">TableCellContentView</span><span class="p">:</span> <span class="kt"><a href="Protocols/BoundsObserving.html">BoundsObserving</a></span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">TableCellContentView</span><span class="p">:</span> <span class="kt"><a href="Protocols/EditorViewDelegate.html">EditorViewDelegate</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@Proton@objc(cs)TableView"></a>
                    <a name="//apple_ref/swift/Class/TableView" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@Proton@objc(cs)TableView">TableView</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A view that provides a tabular structure where each cell is an <code><a href="Classes/EditorView.html">EditorView</a></code>.
Since the cells contains an <code><a href="Classes/EditorView.html">EditorView</a></code> in itself, it is capable of hosting any attachment that <code><a href="Classes/EditorView.html">EditorView</a></code> can host
including another <code>TableView</code> as an attachment.</p>

                        <a href="Classes/TableView.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">TableView</span> <span class="p">:</span> <span class="kt">UIView</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">TableView</span><span class="p">:</span> <span class="kt">UIScrollViewDelegate</span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">TableView</span><span class="p">:</span> <span class="kt"><a href="Protocols.html#/s:6Proton23AsyncDeferredRenderableP">AsyncDeferredRenderable</a></span></code></pre>
<pre class="highlight swift"><code><span class="kd">extension</span> <span class="kt">TableView</span><span class="p">:</span> <span class="kt"><a href="Protocols/BackgroundColorObserving.html">BackgroundColorObserving</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton17ListTextProcessorC"></a>
                    <a name="//apple_ref/swift/Class/ListTextProcessor" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton17ListTextProcessorC">ListTextProcessor</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Text process capable of processing keyboard inputs specific to lists. <code>ListTextProcessor</code> only works after a range of text
has been converted to list using <code><a href="Classes/ListCommand.html">ListCommand</a></code>.</p>

<p>Supports the following inputs:</p>

<ol>
<li>Enter: Creates a new list item at the same level as the current one. Using Enter twice in a row at the last list item exits list.
When used twice in a row in the middle of a list, it only creates empty list items and does not exit list.</li>
<li>Shift-Enter: Adds a soft line break i.e. does not create a new list item but moves to next line.</li>
<li>Tab: Indents the current level to next indentation level. A level may only be indented 1 level deeper than previous level.
First level items cannot be indented.</li>
<li>Shift-Tab: Outdents text in list by one level each time. Using this on first level exits the list formatting for given text.</li>
</ol>

                        <a href="Classes/ListTextProcessor.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">open</span> <span class="kd">class</span> <span class="kt">ListTextProcessor</span> <span class="p">:</span> <span class="kt"><a href="Protocols/TextProcessing.html">TextProcessing</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2024 <a class="link" href="" target="_blank" rel="external noopener">Rajdeep Kwatra</a>. All rights reserved. (Last updated: 2024-05-15)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</html>
